package controlService;

import java.util.*;

import models.Command;

/*
 * This class is just a wrapper for use in the Control Service
 */
public class CommandSource {
	
	private Command _cmd;
	private RemoteClient _source;
	
	public CommandSource(Command cmd, RemoteClient source)
	{
		_cmd = cmd;
		_source = source;
	}
	
	public CommandSource(Command.CommandValue commandValue, RemoteClient source)
	{
		_cmd = new Command(commandValue);
		_source = source;
	}

	public Command command()
	{
		return _cmd;
	}
	
	public RemoteClient source()
	{
		return _source;
	}
	
}
